@font-face {
  font-family: 'YouSheBiaoTiHei';
  src: url('./assets/font/YouSheBiaoTiHei.ttf');
}

@plugin '../../../../src/allPage/plugin.js';

.top2-header {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 w(64);
  box-sizing: border-box;
  background: url(./assets/image/header_img.png) no-repeat center / cover;

  .subtitle {
    font-size: w(18);
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #fff;
    width: w(189);
    height: h(36);
    line-height: h(36);
    text-align: center;
  }

  .subtitle-left {
    position: absolute;
    top: h(36);
    left: w(424);
    cursor: pointer;
    background: url(./assets/image/subtitle_left.png) no-repeat center / cover;
  }

  .subtitle-leftL {
    position: absolute;
    top: h(36);
    left: w(424);
    color: rgba(rgba(255, 175, 40, 1));
    background: url(./assets/image/subtitle_leftL.png) no-repeat center / cover;
  }

  .header-title {
    position: absolute;
    top: h(6);
    left: w(768);
    font-size: w(40);
    font-family: YouSheBiaoTiHei;
    // color: #fff;
    line-height: h(52);
    letter-spacing: w(2);
    // text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    // background-image: linear-gradient(to top, #00C6FF, #8AFFD2); 
    // background-image: linear-gradient(to top,#3384D7, #FFFFFF);
    background-image: linear-gradient(180deg, #FFFFFF 30%, #3384D7 90%, #3384D7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    /* 背景被裁剪成文字的前景色 */
    -webkit-text-fill-color: transparent;
    /* 文字填充颜色变透明 */

  }

  .subtitle_right {
    position: absolute;
    top: h(36);
    right: w(421);
    cursor: pointer;
    background: url(./assets/image/subtitle_right.png) no-repeat center / cover;
  }

  .subtitle_rightL {
    position: absolute;
    top: h(36);
    right: w(421);
    color: rgba(rgba(255, 175, 40, 1));

    background: url(./assets/image/subtitle_rightL.png) no-repeat center / cover;
  }

  .time1 {
    position: absolute;
    top: h(10);
    left: w(32);
    font-size: w(24);
    height: h(42);
    line-height: h(42);
    font-family: sans-serif;
    font-weight: bold;
    color: rgb(255, 255, 255);

    .date {
      position: absolute;
      left: w(120);
      top: 0px;
      height: h(19);
      font-size: w(14);
      color: #C0EAFF;
      width: w(200);
      font-family: MicrosoftYaHei;
    }

    .week {
      position: absolute;
      left: w(240);
      top: 0px;
      font-size: w(14);
      color: #C0EAFF;
      width: w(200);
      font-family: MicrosoftYaHei;
    }

  }

  .weather1 {
    position: absolute;
    right: w(20);
    top: h(10);
    height: h(36);
    line-height: h(36);
    color: #fff;
    width: w(200);
    text-align: right;
    font-family: MicrosoftYaHei;
    font-size: w(14);
    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
    font-weight: 400;
    letter-spacing: w(2);
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .header-light {
    z-index: 2;
    background: url(./assets/image/header_light.png) no-repeat center / cover;
    position: absolute;
    bottom: h(10);
    left: w(530);
    height: h(4);
    width: 20%;
    animation: move1 3s linear infinite;
    -moz-animation: move1 3s linear infinite;
    -webkit-animation: move1 1.5s linear infinite;
    -o-animation: move1 3s linear infinite;
  }

  @keyframes move1 {
    0% {
      left: w(530);
    }

    50% {
      left: w(830);
    }

    100% {
      left: w(1030);
    }
  }

  @-webkit-keyframes move1 {
    0% {
      left: w(530);
    }

    50% {
      left: w(830);
    }

    100% {
      left: w(1030);
    }
  }
}